package cn.com.dycc.topic_activity.dao;

import java.util.List;

import cn.com.dycc.common.entity.DeleteEntity;
import cn.com.dycc.topic_activity.entity.Pb_Special_Activity;
import cn.com.dycc.topic_activity.entity.Special_Activity_Count;
import cn.com.dycc.topic_activity.param.Pb_Special_ActivityParam;

public interface Pb_Special_ActivityDao {
	
	/**
	 * 新增专题活动发起信息
	 * @param entity
	 * @return
	 */
	public int savePb_Special_Activity(Pb_Special_Activity entity);
	
	/**
	 * 修改专题活动发起信息
	 * @param lists
	 * @return
	 */
	public int updatePb_Special_Activity(List<Pb_Special_Activity> lists);
	
	/**
	 * 删除专题活动发起信息
	 * @param attrStrs
	 * @return
	 */
	public int deletePb_Special_Activity(DeleteEntity deleteEntity);
	
	/**
	 * 查询专题活动发起信息
	 * @param param 组合查询条件
	 * @return
	 */
	public List<Pb_Special_Activity> findPb_Special_ActivityByParam(Pb_Special_ActivityParam param);
	
	/**
	 * 汇总专题活动发起信息
	 * @param param 组合查询条件
	 * @return
	 */
	public List<Special_Activity_Count> findSpecial_Activity_CountByParam(Pb_Special_ActivityParam param);
	
	
	
	/**
	 * 根据组合条件获取符合条件数据的总条数
	 * @param param 组合查询条件
	 * @return
	 */	 
	public String getPb_Special_ActivityCountByParam(Pb_Special_ActivityParam param);
}
